function loadFocuspic(){
	var url="./App/Tpl/default/wap/music/js/focus.js";
	ku9.jsonp(url,"r="+getDate(1)+".js",function(json){log("成功")},function(){log("出错了")});
}
var focusarr=[];
function backfocus(data){
	focusarr=data.child;
	var html=[];
	if(focusarr && focusarr.length>=4){
		for(var i=0;i<focusarr.length;i++){
			html[html.length]='<li><img onclick="loadfocusmusic('+focusarr[i].id+','+i+');" src="'+focusarr[i].img+'" width="100%" height="130"/></li>';
		}
		$(".lunbo .img").html(html.join(""));
		initqkloading();
		setInterval(initqkloading,5000);
	}
}
var leaveNum = 0;
function initqkloading(){
	dsExe();
	try{setTab(leaveNum);}catch(e){}
	leaveNum++;
	if(leaveNum>5){
		leaveNum=0;
	}
}
function setTab(num){
	$(".focus a").eq(num).addClass("def").siblings().removeClass("def");
	$(".img li").eq(num).show().siblings().hide();
}

var focuspn=1;
var focusrn=100;
var focustotal=0;
var last_focus_id=0;
function loadfocusmusic(focusid,index){
	focuspn=1;
	focustotal=0;
	config.qk_type=12;
	gopage(12);
	var focusobj=focusarr[index];
	$("#returnId .tit").html(cutStrByGblen(focusobj.name,30));
	$("#twoContextId .bangdan img").attr("src",focusobj.small_img);
	$("#twoContextId .bangdan p").html(cutStrByGblen(focusobj.intro,75));
	if(isJump){
		isJump = false;
	}else{
		gretArr[gretArr.length]='loadfocusmusic('+focusid+','+index+')';
	}
	
	if(focusid==last_focus_id){
		return;
	}
	last_focus_id=focusid;
	$("#twoContextId #con_gdtextId .play_listall").html(loadinghtml());
	loadfocusmusic2(focusid);
}
function loadfocusmusic2(focusid){
	var url="";
	if(focuspn>1)
		url="http://m.9ku.com/htm/focus/"+focusid+"_"+focuspn+".js";
	else
		url="http://m.9ku.com/htm/focus/"+focusid+".js";
	ku9.jsonp(url,"r="+getDate(1)+".js",function(json){log("成功")},function(){log("出错了")});
}